package com.toubutu.audio.entity;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.toubutu.audio.common.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 戒躁
 * @since 2024-01-08
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Video对象", description = "")
@Data
public class Video extends BasePo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("视频id")
    @TableId(value = "video_id",type = IdType.AUTO)
    private Integer videoId;

    @ApiModelProperty("视频编码")
    private String videoCode;

    @ApiModelProperty("视频名称")
    private String videoName;

    @ApiModelProperty("视频描述")
    private String videoDesc;
    @ApiModelProperty("视频封面")
    private String videoCover;
    @ApiModelProperty("上映时间")
    private LocalDate releaseTime;

    @ApiModelProperty("评分")
    private Double rate;

    @ApiModelProperty("视频地址")
    private String sourceSrc;
    @ApiModelProperty("演员")
    private String actor;
    @ApiModelProperty("导演")
    private String director;
    @ApiModelProperty("视频分类id")
    private Integer categoryId;
    @ApiModelProperty("是否多级")
    private Integer isMultiple;
    @ApiModelProperty("序号")
    private Integer seq;
    @ApiModelProperty("根节点")
    private Integer rootId;
    @ApiModelProperty("视频标签")
    private String tag;
    @ApiModelProperty("地区")
    private String area;
    @ApiModelProperty("语言")
    private String language;
}
